package com.lqq.demo4;

public class Test {
    public static void main(String[] args) {
        Student S = new Student();
        S.print();
        System.out.println();


        Student S1 = new Student("小王",88.1);
        S1.print();
        System.out.println();

        Student S2 = new Student("小王",18,"南京市",1.85);
        S2.print();
        System.out.println();

        Student S3 = new Student("小王",'男',18,"南京市",1.85,70.4,88.1);
        S3.print();
        System.out.println();
    }
}
